@extends('public.dashboard_base')
@section('title', '域名PUSH')

@section('content')
    <div class="control_panel_content">
        <div class="navBreadcrumb">
            <ul>
                <li>域名管理</li>
                <li><a href="/domain/push">域名PUSH</a></li>
            </ul>
        </div>
        <div class="panel">
            <div class="sub_nav_container">
                <ul class="clearfix">
                    <li class="active"><a href="/domain/push">域名PUSH</a></li>
                    <li><a href="/domain/push/send">发起的PUSH</a></li>
                    <li><a href="/domain/push/get">收到的PUSH</a></li>
                </ul>
            </div>
            <div class="panel_body">
                <form id="push_launch_form" action="/domain/push" method="post">
                    <ul class="form_group">
                        <li>
                            <span class="form_label">域名</span>
                            <textarea name="ym" id="ym" placeholder="每行一个域名，一次最多输入1000个" class="domain_area"></textarea>
                            <span class="text_light_gray">&emsp;您已经填写<em class="text_orange" id="entered-count">0</em>个域名，还可添加<em class="text_orange" id="remaining-count">1000</em>个</span>
                        </li>
                        <li>
                            <span class="form_label">对方ID</span>
                            <input type="text" name="puid" id="puid" placeholder="请输入正确的会员ID">
                            &ensp;
                            <span></span>
                        </li>
                        <li>
                            <span class="form_label">索要金额</span>
                            <input type="text" name="pqian" id="pqian" placeholder="请输入整数，如免费请输&quot;0&quot;" onkeyup="price2Chinese(this)">
                            &ensp;<span></span>
                        </li>
                        <li>
                            <span class="form_label"><span class="tips_box"><i class="iconfont iconwenhao text_light_gray" style="font-size: 14px;font-weight: 400"></i><span class="text" style="width:210px;white-space:normal">操作验证保障您的账户安全，可以在安全中心-&gt;<a href="/user/editsj" style="color: #2196F3">修改手机</a>中进行个性化设置。</span></span>&nbsp;手机号码</span>
                            <div style="width: 280px;display: inline-block;vertical-align: middle;height: 32px;line-height: 26px;">
                                <span style="vertical-align: middle">15166664603</span>
                                <input type="button" id="sms_send" class="btn btn_default fr" value="获取验证码">
                            </div>
                        </li>
                        <li>
                            <span class="form_label">验证码</span>
                            <input type="text" name="authCode" id="authCode">
                        </li>
                        <input type="hidden" name="msgType" id="msgType" value="DOMAIN_PUSH_LAUNCH_AUTH_CODE">
                        <input type="hidden" name="protectType" id="protectType" value="DOMAIN_PUSH_LAUNCH">
                        <li>
                            <span class="form_label">&nbsp;</span>
                            <input type="submit" class="btn btn_primary" value="发起PUSH">
                        </li>
                    </ul>
                </form>
            </div>
        </div>
        <div class="warm_prompt">
            <div class="title">
                温馨提示
            </div>
            <ul>
                <li>1、因域名行情变化较快，所以为了保障用户权益，域名PUSH的有效期为7天。</li>
                <li>2、请用户仔细核实对方ID信息及金额，一旦对方接收，域名将无法退回。</li>
            </ul>
        </div>
    </div>
@endsection
@section('script')
    <script>
        $(function () {
            var link = $("#domain-push");
            link.parent().parent().parent().addClass("active");
            link.parent().addClass("active");
        });
    </script>
@endsection
